<html>
<body>

<form action="/user/updateheadimg" enctype="multipart/form-data" method="post">
    <input type="text" name="userid">
    <input type="file" name="headimg">
    <input type="submit">
</form>
</body>
</html>